/**
 * MineAdmin is committed to providing solutions for quickly building web applications
 * Please view the LICENSE file that was distributed with this source code,
 * For the full copyright and license information.
 * Thank you very much for using MineAdmin.
 *
 * @Author X.Mo<root@imoi.cn>
 * @Link   https://github.com/mineadmin
 */
import type { Plugin } from '#/global'

const pluginConfig: Plugin.PluginConfig = {
  install() { },
  config: {
    enable: import.meta.env.DEV,
    info: {
      name: 'attractions/broadcast',
      version: '1.0.0',
      author: 'X.Mo',
      description: '提供广播功能',
    },
  },
  views: [
    // {
    //   name: 'BroadcastRoute',
    //   path: '/broadcast',
    //   meta: {
    //     title: '广播管理',
    //     // badge: () => 'Hot',
    //     i18n: 'menu.broadcast',
    //     icon: 'ep:microphone',
    //     type: 'M',
    //     hidden: false,
    //     subForceShow: true,
    //     breadcrumbEnable: true,
    //     copyright: false,
    //     cache: true,
    //   },
    //   children: [
    //     {
    //       name: 'broadcast_devices:broadcastDevices',
    //       path: '/broadcast/broadcastDevices',
    //       meta: {
    //         title: '广播设备',
    //         i18n: 'broadcast_devices.menu.broadcastDevices',
    //         icon: 'ep:video-camera',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/broadcastDevices/index.vue'),
    //     },
    //     {
    //       name: 'broadcast_log:broadcastLog',
    //       path: '/broadcast/broadcastExecutionLog',
    //       meta: {
    //         title: '广播日志',
    //         i18n: 'broadcast_execution_log.menu.broadcastExecutionLog',
    //         icon: 'ep:notebook',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/broadcastExecutionLog/index.vue'),
    //     },
    //     {
    //       name: 'broadcast_plans:broadcastPlans',
    //       path: '/broadcast/broadcastPlans',
    //       meta: {
    //         title: '广播计划',
    //         i18n: 'broadcast_plans.menu.broadcastPlans',
    //         icon: 'ep:timer',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/broadcastPlans/index.vue'),
    //     },

    //   ],

    // },
  ],
}

export default pluginConfig
